/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const router = {
  hidden: false,
  path: '/financeQueryManagement',
  component: Layout,
  redirect: '/financeQueryManagement/liquidation-list',
  meta: {
    title: '财务查询',
    icon: 'search',
    roles: ['BusinessModuleManagement.FinanceQueryManagement']
  },
  children: [
    {
      hidden: false,
      path: 'liquidation-list',
      name: 'FinanceQueryManagementLiquidation',
      component: () => import('@/views/financeQueryManagement/liquidation/list'),
      meta: { title: '清算查询', icon: '', roles: ['FinanceQueryManagement.FinanceQuery.Liquidation'] }
    },
    {
      hidden: false,
      path: 'collectionAndPayment-list',
      name: 'FinanceQueryManagementCollectionAndPayment',
      component: () => import('@/views/financeQueryManagement/collectionAndPayment/list'),
      meta: { title: '收付款明细查询', icon: '', roles: ['FinanceQueryManagement.FinanceQuery.CollectionAndPayment'] }
    },
    {
      hidden: false,
      path: 'receivableAndMeetDetail-list',
      name: 'FinanceQueryManagementReceivableAndMeetDetail',
      component: () => import('@/views/financeQueryManagement/receivableAndMeetDetail/list'),
      meta: { title: '应收应付明细报表', icon: '', roles: ['FinanceQueryManagement.FinanceQuery.ReceivableAndMeetDetail'] }
    }
  ]
}

export default router
